<template>
  <div class="title-card">
    <!-- <el-col :span="24">
      <span>
        <span>12.27亿元</span>
        <p>全市非税收入额</p>
      </span>
    </el-col> -->

    <div style="position: relative">
      <img src="./text3.png" style="width: 100%" />
      <div
        style="
          position: absolute;
          z-indent: 2;
          left: 50%;
          top: 50%;
          width:90%;
          transform: translate(-50%, -50%);
        "
      >
      <el-row :gutter="30">
        <el-col :span="10">
           <dv-decoration-12 style="width:7rem;height:7rem;" />
        </el-col>
        <el-col :span="12">
          <span>
            <span class="text-span" style="font-size: 2rem">{{cockpitData.value}}{{cockpitData.unit}}</span>
            <p style="font-size: 0.25rem">{{cockpitData.title}}</p>
            <span class="text-span" style="font-size: 2rem">{{cockpitData.value}}{{cockpitData.unit}}</span>
            <p style="font-size: 0.25rem">{{cockpitData.title}}</p>
          </span>
        </el-col>
      </el-row>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    cockpitData: {
      type: Object,
      default: function () {
        return {
          //imgUrl:"./text.png",
          ratio: "11%",
          ratio_title: "系统上云率",
          title: "上云系统数",
          unit: "个",
          value: 5,
        };
      },
    },
  },
};
</script>

<style  scoped>
.text-span {
  background: linear-gradient(0deg, #a3dafe 0%, #ffffff 100%);
  background-clip: text;
  color: transparent;
}
</style>